package com.thinkfit.jy.contract;

import android.content.Context;

import com.common.lib.bean.ApplicationBean;
import com.common.lib.bean.SportInfoBean;
import com.common.lib.mvp.IView;
import com.thinkfit.jy.adapter.DownloadAdapter;

import java.util.ArrayList;

public interface ApplicationContract {

    public interface View extends IView {
        public void getApkListSuccess(ArrayList<ApplicationBean> list);
        public void getSportInfoSuccess(SportInfoBean bean);
        DownloadAdapter getDownloadAdapter();
        void installOver(String packageName);
        void refreshVersion(String packageName);
        Context getAppContext();
    }

    public interface Presenter extends MainContract.Presenter {

        public void getApkList();
        public void getSportInfo();
    }
}
